package com.gxa.hualian.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;

/**
 * @author bill
 * @date 2021/10/21 9:33
 */
@Data  // 包含@Getter @Setter @ToString
@AllArgsConstructor // 生成全参构造
@NoArgsConstructor // 空参构造
public class User implements Serializable {

    private Long id;
    private String name;
    private String phone;
    private Integer points;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Timestamp regTime;

}